package com.hmsm.sys.po;

/**
 * UserOrg entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class UserOrg implements java.io.Serializable {

	// Fields

	private Integer pkId;
	private Integer userId;
	private Integer orgId;
	private Integer orderNum;
	private Integer deptId;
	private Integer state = 1;
	private String remark;

	// Constructors

	/** default constructor */
	public UserOrg() {
	}

	/** minimal constructor */
	public UserOrg(Integer deptId, Integer orgId, Integer userId, Integer state) {
		this.deptId = deptId;
		this.orgId = orgId;
		this.userId = userId;
		this.state = state;
	}

	/** full constructor */
	public UserOrg(Integer deptId, Integer orgId, Integer userId, Integer state, String remark) {
		this.deptId = deptId;
		this.orgId = orgId;
		this.userId = userId;
		this.state = state;
		this.remark = remark;
	}

	// Property accessors

	public Integer getPkId() {
		return this.pkId;
	}

	public void setPkId(Integer pkId) {
		this.pkId = pkId;
	}

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getOrgId() {
		return this.orgId;
	}

	public void setOrgId(Integer orgId) {
		this.orgId = orgId;
	}

	public Integer getOrderNum() {
		return orderNum;
	}

	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public Integer getDeptId() {
		return this.deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	public Integer getState() {
		return this.state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}